Itertools — extra iterator adaptors, functions and macros.
To use the iterator methods in this crate, import the Itertools
trait:
use itertools::Itertools;
Some iterators or adaptors are used directly like regular structs, for example
PutBack
, Unfold
,
Zip
, Stride
To enable the macros in this crate, use the #[macro_use]
attribute:
#[macro_use] extern crate itertools;
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.